Kater: Automating Weak Memory Model Metatheory and Consistency Checking

نویسندگان

چکیده

The metatheory of axiomatic weak memory models covers questions like the correctness compilation mappings from one model to another and local program transformations according a given model---topics usually requiring lengthy human investigation. We show that these can be solved by answering more basic question: "Given two models, is weaker than other?" Moreover, for wide class we this question reduced language inclusion problem between regular languages, which decidable. Similarly, implementing an efficient check whether execution graph consistent has required non-trivial manual effort. Again, such checks derived automatically incremental consistency incorporated in GenMC, state-of-the-art checker concurrent programs. As result, get first time- space-efficient bounded verifier taking as input parameter.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Modular Metatheory for Memory Consistency Models

We present a framework based on operational semantics for formalizing shared-memory multithreaded programming languages with relaxed memory consistency models. The key feature of our framework is a division of each system’s semantics into two modules, the program semantics and the heap semantics. This modularization allows elegant, concise, and reusable components. It is trivial to use the same...

متن کامل

Shared Memory Consistency Protocol Verification Against Weak Memory Models: Refinement via Model-Checking

Weak shared memory consistency models, especially those used by modern microprocessor families, are quite complex. The bus and/or directory-based protocols that help realize shared memory multiprocessors using these microprocessors are also exceedingly complex. Thus, the correctness problem – that all the executions generated by the multiprocessor for any given concurrent program are also allow...

متن کامل

Weak Memory Consistency Models

Process coordination problems have been extensively addressed in the context of sequential consistency. However, modern multiprocessors present a large variety of memory models that are anything but sequentially consistent. In these machines, the ordering constraints on memory accesses are few. We re-address two fundamental process coordination problems in the context of weak memory models. We ...

متن کامل

Modelling and Model Checking a Distributed Shared Memory Consistency Protocol

Distributed Shared Memory (DSM) systems provide the abstraction of a common virtual address space across a network of processors. Such systems employ a variety of protocols to maintain a consistent view of data across all local memories. Li and Hudak proposed several of the pioneering protocols for DSM [LH 89]. We have used both Petri net modelling and model checking to explore some of their pr...

متن کامل

Automating Deductive Verification for Weak-Memory Programs

Writing correct programs for weak memory models such as the C11 memory model is challenging because of the weak consistency guarantees these models provide. The first program logics for the verification of such programs have recently been proposed, but their usage has been limited thus far to manual proofs. Automating proofs in these logics via first-order solvers is non-trivial, due to reasoni...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: Proceedings of the ACM on programming languages

سال: 2023

ISSN: ['2475-1421']

DOI: https://doi.org/10.1145/3571212